package com.zenithsun.common.basicdata.dao;

import java.util.List;

import com.syzg.common.dao.BaseDAO;
import com.zenithsun.common.basicdata.model.Basicdata;

public interface BasicdataDAO extends BaseDAO<Basicdata> {
	
	/**
	 * 通过基础信息的父节点标识获取下面的所有节点信息
	 * @param parentCode
	 * @return List<Basicdata>
	 * @throws Exception
	 */
	public List<Basicdata> getTreeNewsBasicData(String parentCode) throws Exception;
	
	/**
	 * 通过基础信息的父节点标识获取下面的所有节点信息
	 * @param parentCode
	 * @return List<Basicdata>
	 * @throws Exception
	 */
	public List<Basicdata> getNewsBasicData(String parentCode) throws Exception;
	
	/**
	 * 修改App信息
	 * @param basicdata
	 * @return boolean
	 * @throws Exception
	 */
	public boolean updateApp(Basicdata basicdata) throws Exception;
}
